package CircleAndCylinder;

public class Cylinder extends Circle{

    public double height;

    public Cylinder(){
        height = 1;
    }

    public double getHeight(){
        return height;
    }

    public void setHeight(double height){
        this.height = height;
    }

    public double FindVolume(){
        double s = FindArea() * height;

        return s;
    }


}
